<template>
  <div class="all">
    <div class="Player-nav">
      <el-button type="primary" size="mini">添加选手</el-button>
      <el-date-picker
        v-model="time"
        type="daterange"
        range-separator="至"
        start-placeholder="开始日期"
        end-placeholder="结束日期"
        value-format="yyyy-MM-dd 00:00:00"
        size="mini">
      </el-date-picker>
       <el-input v-model="date.condition.userId" placeholder="请输入用户名" size="mini" clearable></el-input>
        <el-button type="primary" icon="el-icon-search" @click="search()" size="mini">搜索</el-button>
    </div>
    <ListTbale :date='date'></ListTbale>

    <!-- 分页 -->
    <div class="List-a"></div>
  </div>

</template>

<script>
  export default{
    data(){
      return{
        time:'',
        date:{
          condition:{
              pageIndex:1,
              quantity:30,
              pageSize:20
          },
          list:[
            {
              ID:1,
              pic:'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1590385200120&di=c13d67e1c4ae78b66779abd0158c8f57&imgtype=0&src=http%3A%2F%2Fa3.att.hudong.com%2F35%2F34%2F19300001295750130986345801104.jpg',
              name:'ccc',
              LPL:'陕西',
              area:'延安',
              ega:'20',
            },
          ],
          header:{
            ID:'id',
            pic:'头像',
            name:'姓名',
            LPL:'赛区',
            area:'所在地',
            ega:'年龄',
          },
          operation:{
            alter:'修改',
            del:'删除',
            particulars:'详情'
          }
        }
      }
    },
  }
</script>

<style>
</style>
